<%--
  Created by IntelliJ IDEA.
  User: lub_lenovo
  Date: 2017/11/2
  Time: 9:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="/WEB-INF/admin/public/header.jsp"%>
<!-- 主要内容区域 -->
<div class="container-fluid">
    <div class="row">
        <%@include file="/WEB-INF/admin/public/menu.jsp"%>
        <!-- 数据表格 -->
        <div class="col-md-9 col-sm-9">
            <ol class="breadcrumb">
                <li><a href="#">首页</a></li>
                <li class="active">轮播图管理</li>
            </ol>
            <div class="panel panel-primary">
                <div class="panel-heading">添加轮播图</div>
                <div class="panel-body">
                    <form id="fmMovie" method="post" class="form-horizontal" action="${pageContext.request.contextPath}/slide/doAdd.do" enctype="multipart/form-data">


                        <div class="form-group">
                            <label class="col-sm-2 control-label">图片</label>
                            <div class="col-sm-5">
                                <div class="input-group">
                                    <input name="pics" type="text" class="form-control" placeholder="file path">
                                    <span class="input-group-btn">
                                    <button id="btnFile" class="btn btn-default" type="button">选择</button>
                                  </span>
                                </div><!-- /input-group -->
                                <p>轮播图尺寸：1000px*450px</p>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">跳转地址</label>
                            <div class="col-sm-5">
                                <input type="text" name="url" class="form-control"  placeholder="跳转地址">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" id="btnSubmit" class="btn btn-default">保存</button>&nbsp;&nbsp;<span id="spanInfo" class="text-success"></span>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="copyright text-center">&copy;&nbsp;<a href="http://www.ittaoli.com">桃李科技</a></div>
<%@include file="/WEB-INF/admin/public/footerjs.jsp"%>
<script src="${pageContext.request.contextPath}/admin/js/slide_add.js"></script>
<%@include file="/WEB-INF/admin/public/footer.jsp"%>




